﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

namespace HeathCareSystem
{
    public class ThuocBUS
    {
        public static bool ThemThuocMoi(ThuocDTO th)
        {
            return new ThuocDAO().ThemThuocMoi(th);
        }

        public static bool Delete(string strMaThuoc)
        {
            return new ThuocDAO().Delete(strMaThuoc);
        }

        public static bool Update(ThuocDTO th)
        {
            return new ThuocDAO().Update(th);
        }
        public static List<ThuocDTO> TimThuocTheoTen(string tenThuoc)
        {
            return new ThuocDAO().TimThuocTheoTen(tenThuoc);
        }
        
    }
}